import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex);

export default new Vuex.Store({
  state: {
    userInfo:{},
    pageInfo:{}
  },
  getters: {
  },
  mutations: {
    renewUserInfo(state,info){
      state.userInfo = info;
    },
    renewPageInfo(state,info){
      state.pageInfo = info;
    }
  },
  actions: {
  },
  modules: {
  }
})
